* {
    margin: 0;
    font-family: 'Ubuntu', 'Abel', cursive;
    font-family: 'Abel', cursive;
    box-sizing: border-box;


}

/*-------------------VARIABLES---------------------------------------*/

:root {
    --orange: rgb(250, 140, 60);
    --timer: cubic-bezier(.26,.81,.97,.99);
    --blue: rgb(0, 18, 61);
    --grey: rgb(199, 199, 199);
}


/*--------------NAVBAR------------------*/

.navbar {
    background: var(--blue);
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 17vh;
    min-height: 90px;
    left: 0;
    top: 0;
    position: fixed;
    justify-content: space-between;
    align-content: end;
    z-index: 999;
    font-family: 'Ubuntu';
    
}

.logo {
    position: relative;
    left: 3rem;
    align-self: end;
}

.logo img {
    height: 80%;
    width: auto;

}

/*-----------logo media query---------*/

@media screen and (max-width: 650px) {
    .logo {
        left: 1rem;
    }
}
/*--------------burnt out cod player------------*/


.link-grid {
    display: flex;
    height: 90%;
    width: 50%;
    justify-content: end;
    align-items: end;
}

.link-grid a {
    text-decoration: none;
    color: rgb(242, 253, 255);
    font-size: 1.75vw;
    margin-right: 5vw;
    font-family: Ubuntu;
    white-space: nowrap;
}

.link-grid a::after {
    content: ' ';
    position: relative;
    border-bottom: .5vh solid rgb(250, 140, 60);
    width: 100%;
    display: block;
    transition: transform .15s cubic-bezier(.26,.81,.97,.99);
    transform: scaleX(0);
    transform-origin: right;
    z-index: 0;
}

.link-grid a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/*-------------------------------Hamburger--------------------------*/

.hamburger {
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 40px;
    width: 70px;
    top: 4vh;
    right: 0;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    align-items: center;
    margin-right: 5vw;
    overflow: visible;
    transform: translateX(200px);
}

.hamburger div {
    background: var(--orange);
    width: 80%;
    height: 5px;
    display: block;
    margin-top: 7px;
    transition: .15s cubic-bezier(.79,.28,.24,1.5);
    border-radius: 2px;
}

.topbun {
    transform-origin: left;
}

.middlebun {
    transform-origin: left;
}

.bottombun {
    transform-origin: left;
}

.activetop {
    transform: rotate(45deg) translateY(-10px);

}

.activemiddle {
    transform: translateX(-50px);
    opacity: 0;
    
}

.activebottom {
    transform: rotate(-45deg) translateY(10px);
}

/*-------------------------------- NAVBAR Media Queries---------------------------------*/

@media screen and (max-width: 900px) {
    
    .navbar {
        height: 12vh;
        box-shadow: none;
    }

    .mobile-nav-container {
        width: 100vw;
        height: 100vh;  
        top: 8vw;
        right: 0px;
        background: var(--blue);
        position: fixed;
        z-index: 997;
        transition: 0.3s cubic-bezier(.17,.67,.47,1);
        transform: translateX(100vw);
        display: block;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        height: 200px;
        font-size: 25px;
        margin-top: 50px;
        justify-content: space-evenly;
        margin-left: 25px;
    }

    .mobile-nav a {
        text-decoration: none;
        color: white;
        display: block;

    }

    .mobile-nav-active {
        transform: translateX(-0vw);
    }

    .hamburger {
        opacity: 1;
        transform: translateX(0px);
    }

    .link-grid {
        display: none;
    }
}


/*--------------------------------CONTACT------------------------------*/

.main {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 25vh;
    justify-content: center;
    align-items: center;
    width: 100vw;
    max-width: 100%;

}

.contact-container {
    display: flex;
    flex-direction: column;
    grid-template-rows: auto;
    min-width: 60%;
    max-width: 60%;
    height: min-content;  
}

@media screen and (max-width: 900px) {
    .contact-container {
        margin-top: 2rem;
    }
}
.contact-header {
    font-size: 3rem;
    grid-column: 1 / span 2;
    padding-bottom: 5vh;
    font-family: Ubuntu;
    width: auto;
    white-space: nowrap;
    margin-bottom: 1rem;
    color: var(--blue);
}

.contact-header::after {
    content: '';
    position: relative;
    display: block;
    height: 2px;
    width: 40%;
    background: var(--orange);
}

.contact-container img {
    height: auto;
    max-width: 100%;
    margin-bottom: 3rem;
}

.careerblurb {
    grid-column: 1 / span 2;
    font-family: Abel;
    font-size: 4vh;
    width: 100%; 
    margin-bottom: 5rem;
    color: var(--blue);
}

.emaillink {
    width: min-content;
    padding-left: 2rem;
    padding-right: 2rem;
    background: var(--orange);
    color: var(--blue);
    font-size: 2.5rem;
    font-family: Abel;
    text-decoration: none;
    white-space: nowrap;
    line-height: 5rem;
    align-items: center;
    justify-content: center;
    transition: .25s ease-in-out;
}

.emaillink:hover {
    background: rgb(250, 181, 117);
}
/*--------------------------------CONTACT GRID MOBILE-----------------------------*/

@media screen and (max-width: 900px) {
   
    .main {
        top: 15vh;
    }

    .contact-header::after {
        width: 100%;
        opacity: 1;
    }

    .contact-container {
        min-width: 80%;
        max-width: 80%;
    }
}

/*--------------------------------FOOTER GRID-----------------------------*/


.footer {
    background:rgb(0, 18, 61);
    position: relative;
    width: 100vw;
    max-width: 100%;
    height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    overflow-x: hidden;
    font-family: Abel;
}

.footergrid {
    display: grid;
    height: 75%;
    grid-template-columns: 10rem min-content 10rem;
    grid-template-rows: repeat(2, auto);
    white-space: nowrap;

}

.footerline {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 2px;
    height: 100%;
    background: var(--orange);

}

.footerlink {
    display: flex;
    justify-content: center;
    align-items: center;

}

.footerlink a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
}

.footerlink a::after {
    content: ' ';
    position: relative;
    border-bottom: 3px solid rgb(250, 140, 60);
    width: 100%;
    display: block;
    transition: transform .15s cubic-bezier(.26,.81,.97,.99);
    transform: scaleX(0);
    transform-origin: right;
    z-index: 0;
}

.footerlink a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
